package com.go.where.manager.dao.system.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.go.where.manager.dao.impl.BaseDaoImpl;
import com.go.where.manager.dao.system.RoleDao;
import com.go.where.manager.pojo.user.Role;

@Repository("roleDao")
public class RoleDaoImpl extends BaseDaoImpl<Role> implements RoleDao {

	@Override
	protected String getNameSpace() {
		return "mybatis.xml.RoleMapper";
	}

	@Override
	public List<Role> queryAll() {
		return this.getSqlSession().selectList(getNameSpace() + ".selectAll");
	}

}
